﻿namespace SqlExecHelper
{
        public interface IBatchUpdate : IBatchSql, System.IDisposable
        {
                int AffectedRowNum { get; }
                Result[] Update<Result> (ISqlSetColumn[] columns, SqlEventPrefix prefix, params ISqlWhere[] where);
                Result[] Update<Result> (ISqlSetColumn[] columns,string rcolumn, SqlEventPrefix prefix, params ISqlWhere[] where);
                bool Update (ISqlSetColumn[] columns, params ISqlWhere[] where);
                Result[] Update<Result> (string column, SqlEventPrefix prefix, ISqlSetColumn[] columns, params ISqlWhere[] where);
                bool Update (params ISqlWhere[] where);
                T[] Update<T> (params ISqlWhere[] where);
                T[] Update<T> (SqlEventPrefix prefix, params ISqlWhere[] where);
                T[] Update<T> (string column, params ISqlWhere[] where);
                T[] Update<T> (string column, SqlEventPrefix prefix, params ISqlWhere[] where);
        }
}